problem-solving mechanism